package com.systop.asset.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class MaterialTransfer {

    private long id;
    /**
     * 调拨单号
     */
    private String orderNo;
    /**
     * 调出仓库ID
     */
    private Long fromWarehouseId;
    private String fromName;

    /**
     * 调入仓库ID
     */
    private Long toWarehouseId;
    private String toName;
    /**
     * 状态 0-待调拨 1-部分调拨 2-已完成 3-已取消
     */
    private Long status;
    private Long lockStatus;
    /**
     * 操作人Id
     */
    private Long operatorId;
    /**
     * 操作人
     */
    private String operator;
    private String remark;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
